#!/bin/sh

if [ $# == 0 ]
then
  echo "Usage: archive-contests.sh 'polygon-contest-ids'"
  echo ""
  echo "This command line creates contests archives in the current directory from Polygon"
  echo ""
  exit 65
fi

pgn.sh -login ${polygon.login} -password ${polygon.password} ac -archiveDir . -polygonUrl ${polygon.url} -contests $1
